<div id="search-from-all-vocabularies" class="boxed">
  <h3>{% trans "Search from all vocabularies: " %}</h3>
		 {%  include "searchbar.twig" %}	
</div>
<div id="vocabulary-list" class="boxed">
  {# some kind of error handling #}
	{% if vocabList is not defined or vocabList|length == 0 %}
    <h2>{% trans "No vocabularies on the ONKI server!" %}</h2>
	{% else %}
    <h2>{% trans "Vocabularies on the ONKI server" %}</h2>
    {% for vocabClassName,vocabArray in vocabList %}
    <div class=vocab-class>
      <div class="vocab-description">
        <h3>{{ vocabClassName }}</h3>
      </div>
      <div class="vocab-link">
    	  {% for vocab in vocabArray %}
          <a class="vocab-link" href="{{path_fix}}{{ vocab.id }}/{{ lang }}">{{ vocab.title }}</a><br>
    		{% endfor %}
      </div>
    </div>
    {% endfor %}
	{% endif %}
</div>
